//
//  MDHPT.h
//  MDHPT
//
//  Created by 高得华 on 2019/9/28.
//  Copyright © 2019 高得华. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

//! Project version number for MDHPT.
FOUNDATION_EXPORT double MDHPTVersionNumber;

//! Project version string for MDHPT.
FOUNDATION_EXPORT const unsigned char MDHPTVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <MDHPT/PublicHeader.h>

///Model解析
#if __has_include(<MJExtension/MJExtension.h>)
#import <MJExtension/MJExtension.h>
#else
#import "MJExtension.h"
#endif

#if __has_include(<AFNetworking/AFNetworking.h>)
#import <AFNetworking/AFNetworking.h>
#else
#import "AFNetworking.h"
#endif

#if __has_include(<MJRefresh/MJRefresh.h>)
#import <MJRefresh/MJRefresh.h>
#else
#import "MJRefresh.h"
#endif

#if __has_include(<Masonry/Masonry.h>)
#import <Masonry/Masonry.h>
#else
#import "Masonry.h"
#endif

#if __has_include(<YYCategories/YYCategories.h>)
#import <YYCategories/YYCategories.h>
#else
#import "YYCategories.h"
#endif

#if __has_include(<SDWebImage/SDImageCache.h>)
#import <SDWebImage/SDImageCache.h>
#import <SDWebImage/UIImageView+WebCache.h>
#else
#import "SDImageCache.h"
#import "UIImageView+WebCache.h"
#endif

#if __has_include(<YYCategories/YYCategories.h>)
#import <YYCategories/YYCategories.h>
#else
#import "YYCategories.h"
#endif

#if __has_include(<CYLTabBarController/CYLTabBarController.h>)
#import <CYLTabBarController/CYLTabBarController.h>
#else
#import "CYLTabBarController.h"
#endif

#if __has_include(<JDStatusBarNotification/JDStatusBarNotification.h>)
#import <JDStatusBarNotification/JDStatusBarNotification.h>
#else
#import "JDStatusBarNotification.h"
#endif

///键盘管理者
#if __has_include(<IQKeyboardManager/IQKeyboardManager.h>)
#import <IQKeyboardManager/IQKeyboardManager.h>
#else
#import "IQKeyboardManager.h"
#endif

#if __has_include(<MDHPT/MDHPT.h>)
#import <MDHPT/MDHMacro.h>
#import <MDHPT/LEEAlert.h>
#import <MDHPT/MHFileManager.h>

#import <MDHPT/MDHMacroHeader.h>
#import <MDHPT/MDHViewModel.h>
#import <MDHPT/MDHViewModelServices.h>
#import <MDHPT/MDHHTTPService.h>
#import <MDHPT/MDHHTTPRequest.h>
#import <MDHPT/MDHURLParameters.h>
#import <MDHPT/SAMKeychain+MMWPTUtil.h>
#import <MDHPT/SAMKeychain.h>
#import <MDHPT/MDHRACExtension.h>
#import <MDHPT/MDHFileConstant.h>
#import <MDHPT/UIView+HJViewStyle.h>
#import <MDHPT/MDHPTNavigationProtocol.h>
#import <MDHPT/MDHPTProtocol.h>
#import <MDHPT/NSObject+MDHNSObject.h>

#import <MDHPT/UIView+MHFrame.h>
#import <MDHPT/BAPrivacyManager.h>
#import <MDHPT/BAKit_Singleton.h>
#import <MDHPT/GEdwardJTOAPPInter.h>
#import <MDHPT/GEdwardInfoController.h>
#import <MDHPT/MMWDHEnDe.h>
#import <MDHPT/MDHTableViewModel.h>
#import <MDHPT/JXPagerView.h>
#import <MDHPT/JXPagerMainTableView.h>
#import <MDHPT/JXPagerListContainerView.h>
#import <MDHPT/JXCategoryViewDefines.h>
#import <MDHPT/MDHRouter.h>
#import <MDHPT/MDHViewController.h>
#import <MDHPT/MDHTableViewController.h>
#import <MDHPT/MDHSegmentedControlController.h>
#import <MDHPT/MDHWKWebViewController.h>
#import <MDHPT/MDHNavigationController.h>
#import <MDHPT/MDHTabBarController.h>
#import <MDHPT/MDHNavigationControllerStack.h>
#import <MDHPT/MDHTabBarViewModel.h>
#import <MDHPT/MDHViewModelServicesImpl.h>
#import <MDHPT/WRNavigationBar.h>
#import <MDHPT/MDHTextView.h>
#import <MDHPT/YYText.h>
#import <MDHPT/TTGTagCollectionView.h>
#import <MDHPT/TTGTextTagCollectionView.h>

#import <MDHPT/HanyuPinyinOutputFormat.h>
#import <MDHPT/PinYinForObjc.h>
#import <MDHPT/PinyinHelper.h>
#import <MDHPT/ChineseInclude.h>


#import <MDHPT/WSDatePickerView.h>
#import <MDHPT/NSDate+Extension.h>

#import <MDHPT/CRBoxInputView.h>
#import <MDHPT/YBPopupMenu.h>
#import <MDHPT/LFStarsView.h>
#import <MDHPT/LFBadge.h>
#import <MDHPT/WMDragView.h>

#import <MDHPT/MMWPTPhotoBrowserHeader.h>
#import <MDHPT/LFToGIF.h>
#import <MDHPT/XHLaunchAd.h>

#import <MDHPT/RACSubscriber+AFProgressCallbacks.h>
#import <MDHPT/ReactiveObjC.h>

#import <MDHPT/MBProgressHUD.h>
#import <MDHPT/MBProgressHUD+Add.h>
#import <MDHPT/UIViewController+HUD.h>

#else

#import "MDHMacro.h"
#import "LEEAlert.h"
#import "MHFileManager.h"
#import "UIView+HJViewStyle.h"

#import "MDHMacroHeader.h"
#import "MDHViewModel.h"
#import "MDHViewModelServices.h"
#import "MDHHTTPService.h"
#import "MDHHTTPRequest.h"
#import "MDHURLParameters.h"
#import "SAMKeychain.h"
#import "SAMKeychain+MMWPTUtil.h"
#import "MDHRACExtension.h"
#import "MDHFileConstant.h"
#import "MDHPTNavigationProtocol.h"
#import "MDHPTProtocol.h"
#import "NSObject+MDHNSObject.h"

#import "UIView+MHFrame.h"
#import "BAPrivacyManager.h"
#import "BAKit_Singleton.h"
#import "GEdwardJTOAPPInter.h"
#import "GEdwardInfoController.h"
#import "MMWDHEnDe.h"
#import "MDHTableViewModel.h"
#import "JXPagerView.h"
#import "JXPagerMainTableView.h"
#import "JXPagerListContainerView.h"
#import "JXCategoryViewDefines.h"
#import "MDHRouter.h"
#import "MDHViewController.h"
#import "MDHTableViewController.h"
#import "MDHSegmentedControlController.h"
#import "MDHWKWebViewController.h"
#import "MDHNavigationController.h"
#import "MDHTabBarController.h"
#import "MDHNavigationControllerStack.h"
#import "MDHTabBarViewModel.h"
#import "MDHViewModelServicesImpl.h"
#import "WRNavigationBar.h"
#import "MDHTextView.h"
#import "YYText.h"
#import "TTGTagCollectionView.h"
#import "TTGTextTagCollectionView.h"

#import "HanyuPinyinOutputFormat.h"
#import "PinYinForObjc.h"
#import "PinyinHelper.h"
#import "ChineseInclude.h"

#import "WSDatePickerView.h"
#import "NSDate+Extension.h"

#import "CRBoxInputView.h"
#import "YBPopupMenu.h"
#import "LFStarsView.h"
#import "LFBadge.h"
#import "WMDragView.h"

#import "MMWPTPhotoBrowserHeader.h"
#import "LFToGIF.h"
#import "XHLaunchAd.h"

#import "RACSubscriber+AFProgressCallbacks.h"
#import "ReactiveObjC.h"

#import "MBProgressHUD.h"
#import "MBProgressHUD+Add.h"
#import "UIViewController+HUD.h"

#endif




//MARK: - ==== 颜色相关
///随机色
static inline UIColor * RGBA(CGFloat r, CGFloat g, CGFloat b, CGFloat a) {
    return [UIColor colorWithRed:(r / 255.0) green:(g / 255.0) blue:(b / 255.0) alpha:a];
}
///随机色
static inline UIColor * RGB(CGFloat r, CGFloat g, CGFloat b) {
    return RGBA(r, g, b, 1.0);
}
///主题色///#FFE500  品牌色 用于按钮和icon 如按钮、标签图标、账户背景、选中的状态等*/
static inline UIColor * kColor_MDHTheme() {//4876FF 1E90FF
    return RGB(240, 62, 59);
}
/// #333333  用于按钮颜色和icon 如勾选按钮、充值按钮、icon的描边*/
static inline UIColor * kColor_MDH333333() {
    return [UIColor colorWithHexStr:@"#333333" alpha:1.0];
}
///#666666  浅灰色字体颜色 */
static inline UIColor * kColor_MDH666666() {
    return [UIColor colorWithHexStr:@"#666666" alpha:1.0];
}
///#999999  */
static inline UIColor * kColor_MDH999999() {
    return [UIColor colorWithHexStr:@"#999999" alpha:1.0];
}
///#EEEEEE  分界线的颜色色值 */
static inline UIColor * kColor_MDHEEEEEE() {
    return [UIColor colorWithHexStr:@"#EEEEEE" alpha:1.0];
}
///#DDDDDD  分界线的颜色色值 */
static inline UIColor * kColor_MDHDDDDDD() {
    return [UIColor colorWithHexStr:@"#DDDDDD" alpha:1.0];
}
///#F2F2F2  分界线的颜色色值 */
static inline UIColor * kColor_MDHF2F2F2() {
    return [UIColor colorWithHexStr:@"#F2F2F2" alpha:1.0];
}
///不可按颜色 #CBCBCB */
static inline UIColor * kColor_MDHCBCBCB() {
    return [UIColor colorWithHexStr:@"#CBCBCB" alpha:1.0];
}
///强调文字FF4500
static inline UIColor * kColor_MDHFF4500() {
    return [UIColor colorWithHexStr:@"#FF4500" alpha:1.0];
}
///767676
static inline UIColor * kColor_MDH767676() {
    return [UIColor colorWithHexStr:@"#767676" alpha:1.0];
}
///RGB(171, 171, 171)
static inline UIColor * kColor_MDHThridNum(CGFloat num) {
    return RGB(num, num, num);
}
///RGB(119, 119, 119)
static inline UIColor * kColor_MDHThrid119() {
    return kColor_MDHThridNum(119);
}
///kColor_MDHThrid51()
static inline UIColor * kColor_MDHThrid51() {
    return kColor_MDHThridNum(51);
}
///RGB(247, 202, 69) 金黄色
static inline UIColor * kColor_MDHGolden() {
    return RGB(247, 202, 69);
}
